const KEY = "haokezufang-token-vant-mobile";

// 保存token
export const setToken = (data) => {
  localStorage.setItem(KEY, data);
};

// 获取token
export const getToken = () => {
  return localStorage.getItem(KEY);
};
// 删除token
export const removeToken = () => {
  localStorage.removeItem(KEY);
};
